package com.acaslless.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 统一状态码返回
 *
 * @author haohan
 * @date 2025/3/28 10:59
 **/
@Getter
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(200, "操作成功"),
    FAIL(500, "服务异常");

    private final Integer code;

    private final String msg;
}
